Optimal. Leaf size=1089 \[ -\frac {7 \sqrt {a} b^3 \text {ArcTan}\left (\frac {\sqrt {a} \sqrt {e \sin (c+d x)}}{\sqrt [4]{a^2-b^2} \sqrt {e}}\right )}{2 \left (a^2-b^2\right )^{11/4} d e^{5/2}}-\frac {2 \sqrt {a} b \text {ArcTan}\left (\frac {\sqrt {a} \sqrt {e \sin (c+d x)}}{\sqrt [4]{a^2-b^2} \sqrt {e}}\right )}{\left (a^2-b^2\right )^{7/4} d e^{5/2}}-\frac {7 \sqrt {a} b^3 \tanh ^{-1}\left (\frac {\sqrt {a} \sqrt {e \sin (c+d x)}}{\sqrt [4]{a^2-b^2} \sqrt {e}}\right )}{2 \left (a^2-b^2\right )^{11/4} d e^{5/2}}-\frac {2 \sqrt {a} b \tanh ^{-1}\left (\frac {\sqrt {a} \sqrt {e \sin (c+d x)}}{\sqrt [4]{a^2-b^2} \sqrt {e}}\right )}{\left (a^2-b^2\right )^{7/4} d e^{5/2}}-\frac {2 \cos (c+d x)}{3 a^2 d e (e \sin (c+d x))^{3/2}}+\frac {b^2}{a \left (a^2-b^2\right ) d e (b+a \cos (c+d x)) (e \sin (c+d x))^{3/2}}+\frac {4 b (a-b \cos (c+d x))}{3 a^2 \left (a^2-b^2\right ) d e (e \sin (c+d x))^{3/2}}+\frac {b^2 \left (7 a b-\left (5 a^2+2 b^2\right ) \cos (c+d x)\right )}{3 a^2 \left (a^2-b^2\right )^2 d e (e \sin (c+d x))^{3/2}}+\frac {2 F\left (\left .\frac {1}{2} \left (c-\frac {\pi }{2}+d x\right )\right |2\right ) \sqrt {\sin (c+d x)}}{3 a^2 d e^2 \sqrt {e \sin (c+d x)}}+\frac {4 b^2 F\left (\left .\frac {1}{2} \left (c-\frac {\pi }{2}+d x\right )\right |2\right ) \sqrt {\sin (c+d x)}}{3 a^2 \left (a^2-b^2\right ) d e^2 \sqrt {e \sin (c+d x)}}+\frac {b^2 \left (5 a^2+2 b^2\right ) F\left (\left .\frac {1}{2} \left (c-\frac {\pi }{2}+d x\right )\right |2\right ) \sqrt {\sin (c+d x)}}{3 a^2 \left (a^2-b^2\right )^2 d e^2 \sqrt {e \sin (c+d x)}}+\frac {7 b^4 \Pi \left (\frac {2 a}{a-\sqrt {a^2-b^2}};\left .\frac {1}{2} \left (c-\frac {\pi }{2}+d x\right )\right |2\right ) \sqrt {\sin (c+d x)}}{2 \left (a^2-b^2\right )^2 \left (a^2-b^2-a \sqrt {a^2-b^2}\right ) d e^2 \sqrt {e \sin (c+d x)}}+\frac {2 b^2 \Pi \left (\frac {2 a}{a-\sqrt {a^2-b^2}};\left .\frac {1}{2} \left (c-\frac {\pi }{2}+d x\right )\right |2\right ) \sqrt {\sin (c+d x)}}{\left (a^2-b^2\right ) \left (a^2-b^2-a \sqrt {a^2-b^2}\right ) d e^2 \sqrt {e \sin (c+d x)}}+\frac {7 b^4 \Pi \left (\frac {2 a}{a+\sqrt {a^2-b^2}};\left .\frac {1}{2} \left (c-\frac {\pi }{2}+d x\right )\right |2\right ) \sqrt {\sin (c+d x)}}{2 \left (a^2-b^2\right )^2 \left (a^2-b^2+a \sqrt {a^2-b^2}\right ) d e^2 \sqrt {e \sin (c+d x)}}+\frac {2 b^2 \Pi \left (\frac {2 a}{a+\sqrt {a^2-b^2}};\left .\frac {1}{2} \left (c-\frac {\pi }{2}+d x\right )\right |2\right ) \sqrt {\sin (c+d x)}}{\left (a^2-b^2\right ) \left (a^2-b^2+a \sqrt {a^2-b^2}\right ) d e^2 \sqrt {e \sin (c+d x)}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 2.07, antiderivative size = 1089, normalized size of antiderivative = 1.00, number of steps
used = 33, number of rules used = 16, integrand size = 25, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.640, Rules used = {3957,
2991, 2716, 2721, 2720, 2773, 2945, 2946, 2781, 2886, 2884, 335, 218, 214, 211, 2775}
\begin {gather*} \frac {7 \Pi \left (\frac {2 a}{a-\sqrt {a^2-b^2}};\left .\frac {1}{2} \left (c+d x-\frac {\pi }{2}\right )\right |2\right ) \sqrt {\sin (c+d x)} b^4}{2 \left (a^2-b^2\right )^2 \left (a^2-\sqrt {a^2-b^2} a-b^2\right ) d e^2 \sqrt {e \sin (c+d x)}}+\frac {7 \Pi \left (\frac {2 a}{a+\sqrt {a^2-b^2}};\left .\frac {1}{2} \left (c+d x-\frac {\pi }{2}\right )\right |2\right ) \sqrt {\sin (c+d x)} b^4}{2 \left (a^2-b^2\right )^2 \left (a^2+\sqrt {a^2-b^2} a-b^2\right ) d e^2 \sqrt {e \sin (c+d x)}}-\frac {7 \sqrt {a} \text {ArcTan}\left (\frac {\sqrt {a} \sqrt {e \sin (c+d x)}}{\sqrt [4]{a^2-b^2} \sqrt {e}}\right ) b^3}{2 \left (a^2-b^2\right )^{11/4} d e^{5/2}}-\frac {7 \sqrt {a} \tanh ^{-1}\left (\frac {\sqrt {a} \sqrt {e \sin (c+d x)}}{\sqrt [4]{a^2-b^2} \sqrt {e}}\right ) b^3}{2 \left (a^2-b^2\right )^{11/4} d e^{5/2}}+\frac {\left (5 a^2+2 b^2\right ) F\left (\left .\frac {1}{2} \left (c+d x-\frac {\pi }{2}\right )\right |2\right ) \sqrt {\sin (c+d x)} b^2}{3 a^2 \left (a^2-b^2\right )^2 d e^2 \sqrt {e \sin (c+d x)}}+\frac {4 F\left (\left .\frac {1}{2} \left (c+d x-\frac {\pi }{2}\right )\right |2\right ) \sqrt {\sin (c+d x)} b^2}{3 a^2 \left (a^2-b^2\right ) d e^2 \sqrt {e \sin (c+d x)}}+\frac {2 \Pi \left (\frac {2 a}{a-\sqrt {a^2-b^2}};\left .\frac {1}{2} \left (c+d x-\frac {\pi }{2}\right )\right |2\right ) \sqrt {\sin (c+d x)} b^2}{\left (a^2-b^2\right ) \left (a^2-\sqrt {a^2-b^2} a-b^2\right ) d e^2 \sqrt {e \sin (c+d x)}}+\frac {2 \Pi \left (\frac {2 a}{a+\sqrt {a^2-b^2}};\left .\frac {1}{2} \left (c+d x-\frac {\pi }{2}\right )\right |2\right ) \sqrt {\sin (c+d x)} b^2}{\left (a^2-b^2\right ) \left (a^2+\sqrt {a^2-b^2} a-b^2\right ) d e^2 \sqrt {e \sin (c+d x)}}+\frac {\left (7 a b-\left (5 a^2+2 b^2\right ) \cos (c+d x)\right ) b^2}{3 a^2 \left (a^2-b^2\right )^2 d e (e \sin (c+d x))^{3/2}}+\frac {b^2}{a \left (a^2-b^2\right ) d e (b+a \cos (c+d x)) (e \sin (c+d x))^{3/2}}-\frac {2 \sqrt {a} \text {ArcTan}\left (\frac {\sqrt {a} \sqrt {e \sin (c+d x)}}{\sqrt [4]{a^2-b^2} \sqrt {e}}\right ) b}{\left (a^2-b^2\right )^{7/4} d e^{5/2}}-\frac {2 \sqrt {a} \tanh ^{-1}\left (\frac {\sqrt {a} \sqrt {e \sin (c+d x)}}{\sqrt [4]{a^2-b^2} \sqrt {e}}\right ) b}{\left (a^2-b^2\right )^{7/4} d e^{5/2}}+\frac {4 (a-b \cos (c+d x)) b}{3 a^2 \left (a^2-b^2\right ) d e (e \sin (c+d x))^{3/2}}+\frac {2 F\left (\left .\frac {1}{2} \left (c+d x-\frac {\pi }{2}\right )\right |2\right ) \sqrt {\sin (c+d x)}}{3 a^2 d e^2 \sqrt {e \sin (c+d x)}}-\frac {2 \cos (c+d x)}{3 a^2 d e (e \sin (c+d x))^{3/2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 211
Rule 214
Rule 218
Rule 335
Rule 2716
Rule 2720
Rule 2721
Rule 2773
Rule 2775
Rule 2781
Rule 2884
Rule 2886
Rule 2945
Rule 2946
Rule 2991
Rule 3957
Rubi steps
\begin {align*} \int \frac {1}{(a+b \sec (c+d x))^2 (e \sin (c+d x))^{5/2}} \, dx &=\int \frac {\cos ^2(c+d x)}{(-b-a \cos (c+d x))^2 (e \sin (c+d x))^{5/2}} \, dx\\ &=\int \left (\frac {1}{a^2 (e \sin (c+d x))^{5/2}}+\frac {b^2}{a^2 (-b-a \cos (c+d x))^2 (e \sin (c+d x))^{5/2}}+\frac {2 b}{a^2 (-b-a \cos (c+d x)) (e \sin (c+d x))^{5/2}}\right ) \, dx\\ &=\frac {\int \frac {1}{(e \sin (c+d x))^{5/2}} \, dx}{a^2}+\frac {(2 b) \int \frac {1}{(-b-a \cos (c+d x)) (e \sin (c+d x))^{5/2}} \, dx}{a^2}+\frac {b^2 \int \frac {1}{(-b-a \cos (c+d x))^2 (e \sin (c+d x))^{5/2}} \, dx}{a^2}\\ &=-\frac {2 \cos (c+d x)}{3 a^2 d e (e \sin (c+d x))^{3/2}}+\frac {b^2}{a \left (a^2-b^2\right ) d e (b+a \cos (c+d x)) (e \sin (c+d x))^{3/2}}+\frac {4 b (a-b \cos (c+d x))}{3 a^2 \left (a^2-b^2\right ) d e (e \sin (c+d x))^{3/2}}+\frac {b^2 \int \frac {b-\frac {5}{2} a \cos (c+d x)}{(-b-a \cos (c+d x)) (e \sin (c+d x))^{5/2}} \, dx}{a^2 \left (a^2-b^2\right )}+\frac {\int \frac {1}{\sqrt {e \sin (c+d x)}} \, dx}{3 a^2 e^2}+\frac {(4 b) \int \frac {\frac {3 a^2}{2}-\frac {b^2}{2}-\frac {1}{2} a b \cos (c+d x)}{(-b-a \cos (c+d x)) \sqrt {e \sin (c+d x)}} \, dx}{3 a^2 \left (a^2-b^2\right ) e^2}\\ &=-\frac {2 \cos (c+d x)}{3 a^2 d e (e \sin (c+d x))^{3/2}}+\frac {b^2}{a \left (a^2-b^2\right ) d e (b+a \cos (c+d x)) (e \sin (c+d x))^{3/2}}+\frac {4 b (a-b \cos (c+d x))}{3 a^2 \left (a^2-b^2\right ) d e (e \sin (c+d x))^{3/2}}+\frac {b^2 \left (7 a b-\left (5 a^2+2 b^2\right ) \cos (c+d x)\right )}{3 a^2 \left (a^2-b^2\right )^2 d e (e \sin (c+d x))^{3/2}}+\frac {\left (2 b^2\right ) \int \frac {\frac {1}{2} b \left (8 a^2-b^2\right )-\frac {1}{4} a \left (5 a^2+2 b^2\right ) \cos (c+d x)}{(-b-a \cos (c+d x)) \sqrt {e \sin (c+d x)}} \, dx}{3 a^2 \left (a^2-b^2\right )^2 e^2}+\frac {(2 b) \int \frac {1}{(-b-a \cos (c+d x)) \sqrt {e \sin (c+d x)}} \, dx}{\left (a^2-b^2\right ) e^2}+\frac {\left (2 b^2\right ) \int \frac {1}{\sqrt {e \sin (c+d x)}} \, dx}{3 a^2 \left (a^2-b^2\right ) e^2}+\frac {\sqrt {\sin (c+d x)} \int \frac {1}{\sqrt {\sin (c+d x)}} \, dx}{3 a^2 e^2 \sqrt {e \sin (c+d x)}}\\ &=-\frac {2 \cos (c+d x)}{3 a^2 d e (e \sin (c+d x))^{3/2}}+\frac {b^2}{a \left (a^2-b^2\right ) d e (b+a \cos (c+d x)) (e \sin (c+d x))^{3/2}}+\frac {4 b (a-b \cos (c+d x))}{3 a^2 \left (a^2-b^2\right ) d e (e \sin (c+d x))^{3/2}}+\frac {b^2 \left (7 a b-\left (5 a^2+2 b^2\right ) \cos (c+d x)\right )}{3 a^2 \left (a^2-b^2\right )^2 d e (e \sin (c+d x))^{3/2}}+\frac {2 F\left (\left .\frac {1}{2} \left (c-\frac {\pi }{2}+d x\right )\right |2\right ) \sqrt {\sin (c+d x)}}{3 a^2 d e^2 \sqrt {e \sin (c+d x)}}+\frac {\left (7 b^3\right ) \int \frac {1}{(-b-a \cos (c+d x)) \sqrt {e \sin (c+d x)}} \, dx}{2 \left (a^2-b^2\right )^2 e^2}+\frac {b^2 \int \frac {1}{\sqrt {e \sin (c+d x)} \left (\sqrt {a^2-b^2}-a \sin (c+d x)\right )} \, dx}{\left (a^2-b^2\right )^{3/2} e^2}+\frac {b^2 \int \frac {1}{\sqrt {e \sin (c+d x)} \left (\sqrt {a^2-b^2}+a \sin (c+d x)\right )} \, dx}{\left (a^2-b^2\right )^{3/2} e^2}+\frac {\left (b^2 \left (5 a^2+2 b^2\right )\right ) \int \frac {1}{\sqrt {e \sin (c+d x)}} \, dx}{6 a^2 \left (a^2-b^2\right )^2 e^2}+\frac {(2 a b) \text {Subst}\left (\int \frac {1}{\sqrt {x} \left (\left (-a^2+b^2\right ) e^2+a^2 x^2\right )} \, dx,x,e \sin (c+d x)\right )}{\left (a^2-b^2\right ) d e}+\frac {\left (2 b^2 \sqrt {\sin (c+d x)}\right ) \int \frac {1}{\sqrt {\sin (c+d x)}} \, dx}{3 a^2 \left (a^2-b^2\right ) e^2 \sqrt {e \sin (c+d x)}}\\ &=-\frac {2 \cos (c+d x)}{3 a^2 d e (e \sin (c+d x))^{3/2}}+\frac {b^2}{a \left (a^2-b^2\right ) d e (b+a \cos (c+d x)) (e \sin (c+d x))^{3/2}}+\frac {4 b (a-b \cos (c+d x))}{3 a^2 \left (a^2-b^2\right ) d e (e \sin (c+d x))^{3/2}}+\frac {b^2 \left (7 a b-\left (5 a^2+2 b^2\right ) \cos (c+d x)\right )}{3 a^2 \left (a^2-b^2\right )^2 d e (e \sin (c+d x))^{3/2}}+\frac {2 F\left (\left .\frac {1}{2} \left (c-\frac {\pi }{2}+d x\right )\right |2\right ) \sqrt {\sin (c+d x)}}{3 a^2 d e^2 \sqrt {e \sin (c+d x)}}+\frac {4 b^2 F\left (\left .\frac {1}{2} \left (c-\frac {\pi }{2}+d x\right )\right |2\right ) \sqrt {\sin (c+d x)}}{3 a^2 \left (a^2-b^2\right ) d e^2 \sqrt {e \sin (c+d x)}}+\frac {\left (7 b^4\right ) \int \frac {1}{\sqrt {e \sin (c+d x)} \left (\sqrt {a^2-b^2}-a \sin (c+d x)\right )} \, dx}{4 \left (a^2-b^2\right )^{5/2} e^2}+\frac {\left (7 b^4\right ) \int \frac {1}{\sqrt {e \sin (c+d x)} \left (\sqrt {a^2-b^2}+a \sin (c+d x)\right )} \, dx}{4 \left (a^2-b^2\right )^{5/2} e^2}+\frac {\left (7 a b^3\right ) \text {Subst}\left (\int \frac {1}{\sqrt {x} \left (\left (-a^2+b^2\right ) e^2+a^2 x^2\right )} \, dx,x,e \sin (c+d x)\right )}{2 \left (a^2-b^2\right )^2 d e}+\frac {(4 a b) \text {Subst}\left (\int \frac {1}{\left (-a^2+b^2\right ) e^2+a^2 x^4} \, dx,x,\sqrt {e \sin (c+d x)}\right )}{\left (a^2-b^2\right ) d e}+\frac {\left (b^2 \sqrt {\sin (c+d x)}\right ) \int \frac {1}{\sqrt {\sin (c+d x)} \left (\sqrt {a^2-b^2}-a \sin (c+d x)\right )} \, dx}{\left (a^2-b^2\right )^{3/2} e^2 \sqrt {e \sin (c+d x)}}+\frac {\left (b^2 \sqrt {\sin (c+d x)}\right ) \int \frac {1}{\sqrt {\sin (c+d x)} \left (\sqrt {a^2-b^2}+a \sin (c+d x)\right )} \, dx}{\left (a^2-b^2\right )^{3/2} e^2 \sqrt {e \sin (c+d x)}}+\frac {\left (b^2 \left (5 a^2+2 b^2\right ) \sqrt {\sin (c+d x)}\right ) \int \frac {1}{\sqrt {\sin (c+d x)}} \, dx}{6 a^2 \left (a^2-b^2\right )^2 e^2 \sqrt {e \sin (c+d x)}}\\ &=-\frac {2 \cos (c+d x)}{3 a^2 d e (e \sin (c+d x))^{3/2}}+\frac {b^2}{a \left (a^2-b^2\right ) d e (b+a \cos (c+d x)) (e \sin (c+d x))^{3/2}}+\frac {4 b (a-b \cos (c+d x))}{3 a^2 \left (a^2-b^2\right ) d e (e \sin (c+d x))^{3/2}}+\frac {b^2 \left (7 a b-\left (5 a^2+2 b^2\right ) \cos (c+d x)\right )}{3 a^2 \left (a^2-b^2\right )^2 d e (e \sin (c+d x))^{3/2}}+\frac {2 F\left (\left .\frac {1}{2} \left (c-\frac {\pi }{2}+d x\right )\right |2\right ) \sqrt {\sin (c+d x)}}{3 a^2 d e^2 \sqrt {e \sin (c+d x)}}+\frac {4 b^2 F\left (\left .\frac {1}{2} \left (c-\frac {\pi }{2}+d x\right )\right |2\right ) \sqrt {\sin (c+d x)}}{3 a^2 \left (a^2-b^2\right ) d e^2 \sqrt {e \sin (c+d x)}}+\frac {b^2 \left (5 a^2+2 b^2\right ) F\left (\left .\frac {1}{2} \left (c-\frac {\pi }{2}+d x\right )\right |2\right ) \sqrt {\sin (c+d x)}}{3 a^2 \left (a^2-b^2\right )^2 d e^2 \sqrt {e \sin (c+d x)}}-\frac {2 b^2 \Pi \left (\frac {2 a}{a-\sqrt {a^2-b^2}};\left .\frac {1}{2} \left (c-\frac {\pi }{2}+d x\right )\right |2\right ) \sqrt {\sin (c+d x)}}{\left (a^2-b^2\right )^{3/2} \left (a-\sqrt {a^2-b^2}\right ) d e^2 \sqrt {e \sin (c+d x)}}+\frac {2 b^2 \Pi \left (\frac {2 a}{a+\sqrt {a^2-b^2}};\left .\frac {1}{2} \left (c-\frac {\pi }{2}+d x\right )\right |2\right ) \sqrt {\sin (c+d x)}}{\left (a^2-b^2\right )^{3/2} \left (a+\sqrt {a^2-b^2}\right ) d e^2 \sqrt {e \sin (c+d x)}}-\frac {(2 a b) \text {Subst}\left (\int \frac {1}{\sqrt {a^2-b^2} e-a x^2} \, dx,x,\sqrt {e \sin (c+d x)}\right )}{\left (a^2-b^2\right )^{3/2} d e^2}-\frac {(2 a b) \text {Subst}\left (\int \frac {1}{\sqrt {a^2-b^2} e+a x^2} \, dx,x,\sqrt {e \sin (c+d x)}\right )}{\left (a^2-b^2\right )^{3/2} d e^2}+\frac {\left (7 a b^3\right ) \text {Subst}\left (\int \frac {1}{\left (-a^2+b^2\right ) e^2+a^2 x^4} \, dx,x,\sqrt {e \sin (c+d x)}\right )}{\left (a^2-b^2\right )^2 d e}+\frac {\left (7 b^4 \sqrt {\sin (c+d x)}\right ) \int \frac {1}{\sqrt {\sin (c+d x)} \left (\sqrt {a^2-b^2}-a \sin (c+d x)\right )} \, dx}{4 \left (a^2-b^2\right )^{5/2} e^2 \sqrt {e \sin (c+d x)}}+\frac {\left (7 b^4 \sqrt {\sin (c+d x)}\right ) \int \frac {1}{\sqrt {\sin (c+d x)} \left (\sqrt {a^2-b^2}+a \sin (c+d x)\right )} \, dx}{4 \left (a^2-b^2\right )^{5/2} e^2 \sqrt {e \sin (c+d x)}}\\ &=-\frac {2 \sqrt {a} b \tan ^{-1}\left (\frac {\sqrt {a} \sqrt {e \sin (c+d x)}}{\sqrt [4]{a^2-b^2} \sqrt {e}}\right )}{\left (a^2-b^2\right )^{7/4} d e^{5/2}}-\frac {2 \sqrt {a} b \tanh ^{-1}\left (\frac {\sqrt {a} \sqrt {e \sin (c+d x)}}{\sqrt [4]{a^2-b^2} \sqrt {e}}\right )}{\left (a^2-b^2\right )^{7/4} d e^{5/2}}-\frac {2 \cos (c+d x)}{3 a^2 d e (e \sin (c+d x))^{3/2}}+\frac {b^2}{a \left (a^2-b^2\right ) d e (b+a \cos (c+d x)) (e \sin (c+d x))^{3/2}}+\frac {4 b (a-b \cos (c+d x))}{3 a^2 \left (a^2-b^2\right ) d e (e \sin (c+d x))^{3/2}}+\frac {b^2 \left (7 a b-\left (5 a^2+2 b^2\right ) \cos (c+d x)\right )}{3 a^2 \left (a^2-b^2\right )^2 d e (e \sin (c+d x))^{3/2}}+\frac {2 F\left (\left .\frac {1}{2} \left (c-\frac {\pi }{2}+d x\right )\right |2\right ) \sqrt {\sin (c+d x)}}{3 a^2 d e^2 \sqrt {e \sin (c+d x)}}+\frac {4 b^2 F\left (\left .\frac {1}{2} \left (c-\frac {\pi }{2}+d x\right )\right |2\right ) \sqrt {\sin (c+d x)}}{3 a^2 \left (a^2-b^2\right ) d e^2 \sqrt {e \sin (c+d x)}}+\frac {b^2 \left (5 a^2+2 b^2\right ) F\left (\left .\frac {1}{2} \left (c-\frac {\pi }{2}+d x\right )\right |2\right ) \sqrt {\sin (c+d x)}}{3 a^2 \left (a^2-b^2\right )^2 d e^2 \sqrt {e \sin (c+d x)}}-\frac {7 b^4 \Pi \left (\frac {2 a}{a-\sqrt {a^2-b^2}};\left .\frac {1}{2} \left (c-\frac {\pi }{2}+d x\right )\right |2\right ) \sqrt {\sin (c+d x)}}{2 \left (a^2-b^2\right )^{5/2} \left (a-\sqrt {a^2-b^2}\right ) d e^2 \sqrt {e \sin (c+d x)}}-\frac {2 b^2 \Pi \left (\frac {2 a}{a-\sqrt {a^2-b^2}};\left .\frac {1}{2} \left (c-\frac {\pi }{2}+d x\right )\right |2\right ) \sqrt {\sin (c+d x)}}{\left (a^2-b^2\right )^{3/2} \left (a-\sqrt {a^2-b^2}\right ) d e^2 \sqrt {e \sin (c+d x)}}+\frac {7 b^4 \Pi \left (\frac {2 a}{a+\sqrt {a^2-b^2}};\left .\frac {1}{2} \left (c-\frac {\pi }{2}+d x\right )\right |2\right ) \sqrt {\sin (c+d x)}}{2 \left (a^2-b^2\right )^{5/2} \left (a+\sqrt {a^2-b^2}\right ) d e^2 \sqrt {e \sin (c+d x)}}+\frac {2 b^2 \Pi \left (\frac {2 a}{a+\sqrt {a^2-b^2}};\left .\frac {1}{2} \left (c-\frac {\pi }{2}+d x\right )\right |2\right ) \sqrt {\sin (c+d x)}}{\left (a^2-b^2\right )^{3/2} \left (a+\sqrt {a^2-b^2}\right ) d e^2 \sqrt {e \sin (c+d x)}}-\frac {\left (7 a b^3\right ) \text {Subst}\left (\int \frac {1}{\sqrt {a^2-b^2} e-a x^2} \, dx,x,\sqrt {e \sin (c+d x)}\right )}{2 \left (a^2-b^2\right )^{5/2} d e^2}-\frac {\left (7 a b^3\right ) \text {Subst}\left (\int \frac {1}{\sqrt {a^2-b^2} e+a x^2} \, dx,x,\sqrt {e \sin (c+d x)}\right )}{2 \left (a^2-b^2\right )^{5/2} d e^2}\\ &=-\frac {7 \sqrt {a} b^3 \tan ^{-1}\left (\frac {\sqrt {a} \sqrt {e \sin (c+d x)}}{\sqrt [4]{a^2-b^2} \sqrt {e}}\right )}{2 \left (a^2-b^2\right )^{11/4} d e^{5/2}}-\frac {2 \sqrt {a} b \tan ^{-1}\left (\frac {\sqrt {a} \sqrt {e \sin (c+d x)}}{\sqrt [4]{a^2-b^2} \sqrt {e}}\right )}{\left (a^2-b^2\right )^{7/4} d e^{5/2}}-\frac {7 \sqrt {a} b^3 \tanh ^{-1}\left (\frac {\sqrt {a} \sqrt {e \sin (c+d x)}}{\sqrt [4]{a^2-b^2} \sqrt {e}}\right )}{2 \left (a^2-b^2\right )^{11/4} d e^{5/2}}-\frac {2 \sqrt {a} b \tanh ^{-1}\left (\frac {\sqrt {a} \sqrt {e \sin (c+d x)}}{\sqrt [4]{a^2-b^2} \sqrt {e}}\right )}{\left (a^2-b^2\right )^{7/4} d e^{5/2}}-\frac {2 \cos (c+d x)}{3 a^2 d e (e \sin (c+d x))^{3/2}}+\frac {b^2}{a \left (a^2-b^2\right ) d e (b+a \cos (c+d x)) (e \sin (c+d x))^{3/2}}+\frac {4 b (a-b \cos (c+d x))}{3 a^2 \left (a^2-b^2\right ) d e (e \sin (c+d x))^{3/2}}+\frac {b^2 \left (7 a b-\left (5 a^2+2 b^2\right ) \cos (c+d x)\right )}{3 a^2 \left (a^2-b^2\right )^2 d e (e \sin (c+d x))^{3/2}}+\frac {2 F\left (\left .\frac {1}{2} \left (c-\frac {\pi }{2}+d x\right )\right |2\right ) \sqrt {\sin (c+d x)}}{3 a^2 d e^2 \sqrt {e \sin (c+d x)}}+\frac {4 b^2 F\left (\left .\frac {1}{2} \left (c-\frac {\pi }{2}+d x\right )\right |2\right ) \sqrt {\sin (c+d x)}}{3 a^2 \left (a^2-b^2\right ) d e^2 \sqrt {e \sin (c+d x)}}+\frac {b^2 \left (5 a^2+2 b^2\right ) F\left (\left .\frac {1}{2} \left (c-\frac {\pi }{2}+d x\right )\right |2\right ) \sqrt {\sin (c+d x)}}{3 a^2 \left (a^2-b^2\right )^2 d e^2 \sqrt {e \sin (c+d x)}}-\frac {7 b^4 \Pi \left (\frac {2 a}{a-\sqrt {a^2-b^2}};\left .\frac {1}{2} \left (c-\frac {\pi }{2}+d x\right )\right |2\right ) \sqrt {\sin (c+d x)}}{2 \left (a^2-b^2\right )^{5/2} \left (a-\sqrt {a^2-b^2}\right ) d e^2 \sqrt {e \sin (c+d x)}}-\frac {2 b^2 \Pi \left (\frac {2 a}{a-\sqrt {a^2-b^2}};\left .\frac {1}{2} \left (c-\frac {\pi }{2}+d x\right )\right |2\right ) \sqrt {\sin (c+d x)}}{\left (a^2-b^2\right )^{3/2} \left (a-\sqrt {a^2-b^2}\right ) d e^2 \sqrt {e \sin (c+d x)}}+\frac {7 b^4 \Pi \left (\frac {2 a}{a+\sqrt {a^2-b^2}};\left .\frac {1}{2} \left (c-\frac {\pi }{2}+d x\right )\right |2\right ) \sqrt {\sin (c+d x)}}{2 \left (a^2-b^2\right )^{5/2} \left (a+\sqrt {a^2-b^2}\right ) d e^2 \sqrt {e \sin (c+d x)}}+\frac {2 b^2 \Pi \left (\frac {2 a}{a+\sqrt {a^2-b^2}};\left .\frac {1}{2} \left (c-\frac {\pi }{2}+d x\right )\right |2\right ) \sqrt {\sin (c+d x)}}{\left (a^2-b^2\right )^{3/2} \left (a+\sqrt {a^2-b^2}\right ) d e^2 \sqrt {e \sin (c+d x)}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [C] Result contains higher order function than in optimal. Order 6 vs. order 4 in
optimal.
time = 30.95, size = 1320, normalized size = 1.21 \begin {gather*} -\frac {(b+a \cos (c+d x))^2 \sec ^2(c+d x) \sin ^{\frac {5}{2}}(c+d x) \left (\frac {2 \left (-2 a^3-5 a b^2\right ) \cos ^2(c+d x) \left (b+a \sqrt {1-\sin ^2(c+d x)}\right ) \left (\frac {b \left (-2 \text {ArcTan}\left (1-\frac {\sqrt {2} \sqrt {a} \sqrt {\sin (c+d x)}}{\sqrt [4]{-a^2+b^2}}\right )+2 \text {ArcTan}\left (1+\frac {\sqrt {2} \sqrt {a} \sqrt {\sin (c+d x)}}{\sqrt [4]{-a^2+b^2}}\right )-\log \left (\sqrt {-a^2+b^2}-\sqrt {2} \sqrt {a} \sqrt [4]{-a^2+b^2} \sqrt {\sin (c+d x)}+a \sin (c+d x)\right )+\log \left (\sqrt {-a^2+b^2}+\sqrt {2} \sqrt {a} \sqrt [4]{-a^2+b^2} \sqrt {\sin (c+d x)}+a \sin (c+d x)\right )\right )}{4 \sqrt {2} \sqrt {a} \left (-a^2+b^2\right )^{3/4}}-\frac {5 a \left (a^2-b^2\right ) F_1\left (\frac {1}{4};-\frac {1}{2},1;\frac {5}{4};\sin ^2(c+d x),\frac {a^2 \sin ^2(c+d x)}{a^2-b^2}\right ) \sqrt {\sin (c+d x)} \sqrt {1-\sin ^2(c+d x)}}{\left (5 \left (a^2-b^2\right ) F_1\left (\frac {1}{4};-\frac {1}{2},1;\frac {5}{4};\sin ^2(c+d x),\frac {a^2 \sin ^2(c+d x)}{a^2-b^2}\right )+2 \left (2 a^2 F_1\left (\frac {5}{4};-\frac {1}{2},2;\frac {9}{4};\sin ^2(c+d x),\frac {a^2 \sin ^2(c+d x)}{a^2-b^2}\right )+\left (-a^2+b^2\right ) F_1\left (\frac {5}{4};\frac {1}{2},1;\frac {9}{4};\sin ^2(c+d x),\frac {a^2 \sin ^2(c+d x)}{a^2-b^2}\right )\right ) \sin ^2(c+d x)\right ) \left (b^2+a^2 \left (-1+\sin ^2(c+d x)\right )\right )}\right )}{(b+a \cos (c+d x)) \left (1-\sin ^2(c+d x)\right )}+\frac {2 \left (10 a^2 b+4 b^3\right ) \cos (c+d x) \left (b+a \sqrt {1-\sin ^2(c+d x)}\right ) \left (-\frac {\left (\frac {1}{8}-\frac {i}{8}\right ) \sqrt {a} \left (2 \text {ArcTan}\left (1-\frac {(1+i) \sqrt {a} \sqrt {\sin (c+d x)}}{\sqrt [4]{a^2-b^2}}\right )-2 \text {ArcTan}\left (1+\frac {(1+i) \sqrt {a} \sqrt {\sin (c+d x)}}{\sqrt [4]{a^2-b^2}}\right )+\log \left (\sqrt {a^2-b^2}-(1+i) \sqrt {a} \sqrt [4]{a^2-b^2} \sqrt {\sin (c+d x)}+i a \sin (c+d x)\right )-\log \left (\sqrt {a^2-b^2}+(1+i) \sqrt {a} \sqrt [4]{a^2-b^2} \sqrt {\sin (c+d x)}+i a \sin (c+d x)\right )\right )}{\left (a^2-b^2\right )^{3/4}}+\frac {5 b \left (a^2-b^2\right ) F_1\left (\frac {1}{4};\frac {1}{2},1;\frac {5}{4};\sin ^2(c+d x),\frac {a^2 \sin ^2(c+d x)}{a^2-b^2}\right ) \sqrt {\sin (c+d x)}}{\sqrt {1-\sin ^2(c+d x)} \left (5 \left (a^2-b^2\right ) F_1\left (\frac {1}{4};\frac {1}{2},1;\frac {5}{4};\sin ^2(c+d x),\frac {a^2 \sin ^2(c+d x)}{a^2-b^2}\right )+2 \left (2 a^2 F_1\left (\frac {5}{4};\frac {1}{2},2;\frac {9}{4};\sin ^2(c+d x),\frac {a^2 \sin ^2(c+d x)}{a^2-b^2}\right )+\left (a^2-b^2\right ) F_1\left (\frac {5}{4};\frac {3}{2},1;\frac {9}{4};\sin ^2(c+d x),\frac {a^2 \sin ^2(c+d x)}{a^2-b^2}\right )\right ) \sin ^2(c+d x)\right ) \left (b^2+a^2 \left (-1+\sin ^2(c+d x)\right )\right )}\right )}{(b+a \cos (c+d x)) \sqrt {1-\sin ^2(c+d x)}}\right )}{6 (a-b)^2 (a+b)^2 d (a+b \sec (c+d x))^2 (e \sin (c+d x))^{5/2}}+\frac {(b+a \cos (c+d x))^2 \left (\frac {a b^2}{\left (-a^2+b^2\right )^2 (b+a \cos (c+d x))}-\frac {2 \left (-2 a b+a^2 \cos (c+d x)+b^2 \cos (c+d x)\right ) \csc ^2(c+d x)}{3 \left (-a^2+b^2\right )^2}\right ) \sin (c+d x) \tan ^2(c+d x)}{d (a+b \sec (c+d x))^2 (e \sin (c+d x))^{5/2}} \end {gather*}
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.92, size = 1594, normalized size = 1.46
method | result | size |
default | \(\text {Expression too large to display}\) | \(1594\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-1)] Timed out
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F(-1)] Timed out
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] Timed out
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.00 \begin {gather*} \int \frac {{\cos \left (c+d\,x\right )}^2}{{\left (e\,\sin \left (c+d\,x\right )\right )}^{5/2}\,{\left (b+a\,\cos \left (c+d\,x\right )\right )}^2} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________